Deleted unused files.
[Sonic-Engine-360.git] / GMS2 / Sonic Engine 360 / objects / EndPost / Step_1.gml
blobb7d4507a538f8b3473fbfeca64cac78c56a0308f
1 /// Endpost collision checks\r
2 \r
3 with (Player)       // Note with all items, the code is used in the items but it runs through inside the Player\r
4 {\r
5     if (action == act_death) continue;  // Don't run through code if Player is dead\r
6 \r
7     // Only execute collect action if a collision is going to occur\r
8     if (other.action == 0 && x > other.x)\r
9     {\r
10         other.action = 1;\r
11         scores += 2500;\r
12         other.alarm[0] = 160;\r
13         sound_play(SndEndPost);\r
14     }\r
15 }\r